<!DOCTYPE >
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>基本设置</title>
<css  href="__PUBLIC__/home/css/right.css" />
<js href="__PUBLIC__/home/js/jquery.js" />
<js href="__PUBLIC__/home/js/system.js" />
<js href="__PUBLIC__/home/js/admin.js" />
</head>
<body style="overflow: auto;">
	<div class="basic bor">
			<div class="title fl">当前位置：门店管理 > 门店列表</div>
			<div class="basic_r fr"><a href="{:U('Index/setting')}">基本信息</a></div>
	</div>
	<form action="{:U('Product/adcate')}" method="post"  enctype="multipart/form-data">
	<div class="addnav"> 
		<a class="submit fr addnews" href="{:U('Shop/editShop')}"  />添加门店</a>
	</div>
	</form>
<!-- 文章分类列表 -->
<div class="catelist">
    <div class="lists listsov" >
    <dd>门店列表</dd>
     
    </div>

</div>
<!-- /文章分类列表 -->

<table border="1"  class="table table-hover text-center" id='list'>
  <tr class="trcolor">
    <td>编号</td>
   	<td>门店名称</td>
	<td>联系电话</td>
    <td>门店图片</td>
    <td>地址</td>
    <td>添加时间</td>
    <td colspan="2">操作</td>
  </tr>

<!-- ============================================================= -->

<volist name="lists" id="li">
  <tr>
    <td>{$li.id}</td>
    <td>
    <input type="text" onchange='upshop("{$li.id}","name","store_shop")' name_id="{$li.id}"  name="name" value="{$li.name}"></td>
    <td class="color444 textleft_lover"><input type="text"  onchange='onid("{$li.id}","tel","store_shop")' name_id="{$li.id}"  name="tel" value="{$li.tel}"></td>
    <td class="color12"><img src="{$li.pic}" class="pic" ></td>
    <td class="color12">
    <input type="text" onchange='upshop("{$li.id}","address","store_shop")' name_id="{$li.id}"  name="address" value="{$li.address}"></td>
    <td class="color12"><?php  echo date('Y-m-d H:i:s',$li['ctime']); ?></td>
    <td><span class="addname">
    <a href="{:U('Shop/editShop',array('id'=>$li['id']))}">修改</a></span></td>
    <td><span class="addname"><a href="{:U('Shop/delShop',array('id'=>$li['id']))}" onclick="return confirm('确定将此记录删除?')">删除</a></span></td>
  </tr>
</volist>
  

<!-- ============================================================= -->

</table>
<div class="pages"> 
    <div class="page_s fr">{$page}</div>
</div>


<!-- 提示 -->
<!-- <p class="ts"><span class="colorf00">*</span><span class="ts_text"> 如果要修改排序/产品名称请直接点击文字修改。</span></p> -->
</body>
</html>